package uplift.project;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class UpliftActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
    
    // goes to the Act Now screen
    public void actNow(View v) {
    	Intent i = new Intent(v.getContext(), SuggestionListActivity.class);
    	startActivity(i);
    }
    
    // goes to Find Events screen
    public void findEvents(View v) {
    	Intent i = new Intent(v.getContext(), FindEventsTabActivity.class);
    	startActivity(i);
    }
    
    // goes to the Organize Others screen
    public void organizeOthers(View v) {
    	Intent i = new Intent(v.getContext(), CreateEventActivity.class);
    	startActivity(i);
    }
    
    // goes to the My Events screen
    public void myEvents(View v) {
    	Intent i = new Intent(v.getContext(), MyEventsTabActivity.class);
    	startActivity(i);
    }
}